﻿using eslib.tools.config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArticleClientLib
{
    internal class apicfg
    {
        public string apiUrl { get; set; }

        public static apicfg Instance
        {
            get
            {
                if (_ins == null)
                {
                    _ins = GenericJsonConfig.Load<apicfg>("./apicfg.json");
                }
                return _ins;
            }
        }
        static apicfg _ins = null;

    }

}
